/**
 * Created by JetBrains WebStorm.
 * User: Silence
 * Date: 3/18/12
 * Time: 9:23 AM
 * To change this template use File | Settings | File Templates.
 */

Ext.define('EM.model.person.Person', {
    extend:'Ext.data.Model',
    fields:[
        { name: 'id', type: 'string'},
        { name: 'firstname', type: 'string'},
        { name: 'lastname', type: 'string'},
        { name: 'description', type: 'string'},
        { name: 'email', type: 'string'},
        { name: 'contact_no', type: 'int'},
        { name: 'position', type: 'string'},
        { name: 'event', type: 'string'},
        { name: 'category', type: 'string'}
    ],
    groupField: 'category',
    idProperty: 'id'
});